package com.itheima.service.store;

import com.itheima.domain.store.QuestionItem;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.JdbcType;

import java.util.List;

/**
 * 题库管理  -> 题目选项管理(数据层)
 */
public interface QuestionItemService {
    List<QuestionItem> findAll() throws Exception;

    QuestionItem findById(String id) throws Exception;

    void save(QuestionItem questionItem)throws Exception;

    void update(QuestionItem questionItem)throws Exception;

    void deleteById(String id)throws Exception;

    List<QuestionItem> findByQuestionId(String questionId)throws Exception;

    void clean();
}